<script setup>
import { useLocaleStore } from '@/store/module/locale.store'
import { useElementPlusLocale } from '@/locales/useLocale'

const { currentLocale } = useLocaleStore()

const { locale } = useElementPlusLocale(currentLocale)
</script>

<template>
  <el-config-provider :locale="locale" :message="{ max: 4 }">
    <RouterView />
  </el-config-provider>
</template>

<style scoped></style>
